#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
    File Name:      shi_pan_easy_test
    Author:         'daze'
    date:           2018/12/24
"""
import logging
import shipane_sdk.scheduler
import shipane_sdk

logging.basicConfig(level=logging.DEBUG)


def test_get_account_info():
    client = shipane_sdk.Client(host='localhost', port=8888, key='666629600476')
    account_info = client.get_account()  # 'title:同花顺委托交易'
    print(account_info)


def execute_scheduler():
    shipane_sdk.scheduler.start()

execute_scheduler()
# test_get_account_info()